import Router from "koa-router";
import * as projectController from "../controllers/project.controller";

const router = new Router({
  prefix: "/api/project",
});

// 项目查询列表
router.get("/list", projectController.list);

// 新建项目
router.post("/create", projectController.create);

// 删除项目
router.post("/remove", projectController.remove);

// 搜索项目
router.get("/search", projectController.search);



export default router;